package com.example.finalwork2.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.finalwork2.entity.VehicleSignal;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public interface VehicleSignalService extends IService<VehicleSignal>{
    List<VehicleSignal> getLatestByVehicleId(String vehicleId, int missingCount);

     void saveVehicleSignals(List<VehicleSignal> signals) throws Exception;

     List<VehicleSignal> getLatestSignals(String vehicleId, int limit);

    // 继承IService就自带saveBatch等常用方法
}
